#include "newhelpwidget.h"

#include <QLabel>
#include <QVBoxLayout>

HelpWidget::HelpWidget()
{

}

void HelpWidget::updateUI()
{
    QLabel * lbl_add = new QLabel("加速                                 +");
    QLabel * lbl_sub = new QLabel("减速                                 -");
    QLabel * lbl_space = new QLabel("暂停/恢复                       space");
    QLabel * lbl_help = new QLabel("帮助                                F1");

    QVBoxLayout *layout = new QVBoxLayout;
    layout->addWidget(lbl_add);
    layout->addWidget(lbl_sub);
    layout->addWidget(lbl_space);
    layout->addWidget(lbl_help);

    setLayout(layout);
}
